package org.jeecg.modules.demo.weixin.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @Description: smt_yuyue_list
 * @Author: jeecg-boot
 * @Date:   2023-10-23
 * @Version: V1.0
 */
@Data
@TableName("smt_yuyue_list")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_yuyue_list对象", description="smt_yuyue_list")
public class SmtYuyueList implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;
	/**设备ID*/
	@Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private Integer devId;
	/**设备号*/
	@Excel(name = "设备号", width = 15)
    @ApiModelProperty(value = "设备号")
    private String devCode;
	/**用户头像*/
	@Excel(name = "用户头像", width = 15)
    @ApiModelProperty(value = "用户头像")
    private String avatar;
	/**用户Id，表示哪个商家发布的场次*/
	@Excel(name = "用户Id，表示哪个商家发布的场次", width = 15)
    @ApiModelProperty(value = "用户Id，表示哪个商家发布的场次")
    private Integer userId;
	/**MQTT用户名   主板版本号*/
	@Excel(name = "MQTT用户名   主板版本号", width = 15)
    @ApiModelProperty(value = "MQTT用户名   主板版本号")
    private String mqttUser;
	/**人数*/
	@Excel(name = "人数", width = 15)
    @ApiModelProperty(value = "人数")
    private Integer count;
	/**游戏模式（0：踩动地砖）*/
	@Excel(name = "游戏模式（0：踩动地砖）", width = 15)
    @ApiModelProperty(value = "游戏模式（0：踩动地砖）")
    private Integer modle;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
	/**游戏时长*/
	@Excel(name = "游戏时长", width = 15)
    @ApiModelProperty(value = "游戏时长")
    private Integer time;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
	/**序号（排序）*/
	@Excel(name = "序号（排序）", width = 15)
    @ApiModelProperty(value = "序号（排序）")
    private String ord;
	/**预约状态（1：等待，2：结束，3: 进行中）*/
	@Excel(name = "预约状态（1：等待，2：结束，3: 进行中）", width = 15)
    @ApiModelProperty(value = "预约状态（1：等待，2：结束，3: 进行中）")
    @Dict(dicCode = "Mer_SmtYuyueList_yuyueStatus")
    private Integer yuyueStatus;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**玩法ID*/
	@Excel(name = "玩法ID", width = 15)
    @ApiModelProperty(value = "玩法ID")
    private Integer trkId;
	/**玩法名称*/
	@Excel(name = "玩法名称", width = 15)
    @ApiModelProperty(value = "玩法名称")
    private String trkName;
	/**商家UId*/
	@Excel(name = "商家UId", width = 15)
    @ApiModelProperty(value = "商家UId")
    private Integer bUid;
	/**游戏唯一标识*/
	@Excel(name = "游戏唯一标识", width = 15)
    @ApiModelProperty(value = "游戏唯一标识")
    private String palyUuid;
	/**省份*/
	@Excel(name = "省份", width = 15)
    @ApiModelProperty(value = "省份")
    private String province;
	/**城市*/
	@Excel(name = "城市", width = 15)
    @ApiModelProperty(value = "城市")
    private String city;
	/**是否删除（0：未删除；1已删除）*/
	@Excel(name = "是否删除（0：未删除；1已删除）", width = 15)
    @ApiModelProperty(value = "是否删除（0：未删除；1已删除）")
    private Integer ifDel;
	/**游戏模式(PRACTICE：练习模式  EXPERIENCE：体验模式 SPORTS：PK模式  NORMAL：竞技模式)*/
	@Excel(name = "游戏模式(PRACTICE：练习模式  EXPERIENCE：体验模式 SPORTS：PK模式  NORMAL：竞技模式)", width = 15)
    @ApiModelProperty(value = "游戏模式(PRACTICE：练习模式  EXPERIENCE：体验模式 SPORTS：PK模式  NORMAL：竞技模式)")
    @Dict(dicCode = "Mer_SmtYuyueList_trkMode")
    private String trkMode;
	/**用户标识*/
	@Excel(name = "用户标识", width = 15)
    @ApiModelProperty(value = "用户标识")
    private String username;
	/**闯关数*/
	@Excel(name = "闯关数", width = 15)
    @ApiModelProperty(value = "闯关数")
    private Integer ogNum;
	/**本次闯关积分*/
	@Excel(name = "本次闯关积分", width = 15)
    @ApiModelProperty(value = "本次闯关积分")
    private Integer integral;
	/**场次二维码*/
	@Excel(name = "场次二维码", width = 15)
    @ApiModelProperty(value = "场次二维码")
    private String qrCode;
	/**购买类型(ASS:拼场；PACKAGE:包场)*/
	@Excel(name = "购买类型(ASS:拼场；PACKAGE:包场)", width = 15)
    @ApiModelProperty(value = "购买类型(ASS:拼场；PACKAGE:包场)")
    @Dict(dicCode = "Mer_SmtYuyueList_trkMode")
    private String buyType;
	/**实际游戏人数*/
	@Excel(name = "实际游戏人数", width = 15)
    @ApiModelProperty(value = "实际游戏人数")
    private Integer num;
	/**支付类型（WeChat：微信支付；Meituan：美团支付；Tiktok：抖音支付；SCard：次卡支付；ValueCard：储值卡支付）*/
	@Excel(name = "支付类型（WeChat：微信支付；Meituan：美团支付；Tiktok：抖音支付；SCard：次卡支付；ValueCard：储值卡支付）", width = 15)
    @ApiModelProperty(value = "支付类型（WeChat：微信支付；Meituan：美团支付；Tiktok：抖音支付；SCard：次卡支付；ValueCard：储值卡支付）")
    @Dict(dicCode = "Mer_Jerking_payType")
    private String payType;
	/**通用场次价格*/
	@Excel(name = "通用场次价格", width = 15)
    @ApiModelProperty(value = "通用场次价格")
    private BigDecimal currentPrice;
	/**商家包场（0：不是商家包场，1：商家包场）*/
	@Excel(name = "商家包场（0：不是商家包场，1：商家包场）", width = 15)
    @ApiModelProperty(value = "商家包场（0：不是商家包场，1：商家包场）")
    @Dict(dicCode = "Mer_SmtYuyueList_packageId")
    private Integer packageId;
    /**商家id*/
    @Excel(name = "商家id", width = 15)
    @ApiModelProperty(value = "商家id")
    private String merchantId;
    /**商品id*/
    @Excel(name = "商品id", width = 15)
    @ApiModelProperty(value = "商品id")
    private Integer storeId;

    /**预约口令*/
    @Excel(name = "预约口令", width = 15)
    @ApiModelProperty(value = "预约口令")
    private String yuyueLink;
    /**口令到期时间*/
    @Excel(name = "口令到期时间", width = 15)
    @ApiModelProperty(value = "口令到期时间")
    private LocalDateTime linkTime;
    /**包场价格*/
    @TableField(exist = false)
    private Double packagePrice;


    /**前端传参商户的id*/
    @TableField(exist = false)
    private String merId;
    /**条件查询开始时间*/
    @TableField(exist = false)
    private String timeStrat;
    /**条件查询结束时间*/
    @TableField(exist = false)
    private String timeEnd;
    /**1-下午 2-上午*/
    @TableField(exist = false)
    private Integer  timeType;
    /**每个场次加入的人员*/
    @TableField(exist = false)
    private List<SmtYuyueUser> userList;
    /**玩法价格*/
    @TableField(exist = false)
    private BigDecimal trkPrice;
    /**使用次卡数量*/
    @TableField(exist = false)
    private Integer cardNum;
    /**
     * 加入数量
     */
    @TableField(exist = false)
    private Integer stock;

    /**
     * 商品id
     */
    @TableField(exist = false)
    private String productId;

    /**
     * 设备名称
     */
    @TableField(exist = false)
    private String devName;



    /**
     *判断
     */
    @TableField(exist = false)
    private Integer determine;
}
